FROM ubuntu:22.04
ENV SHELL /bin/bash
ENV HOME /root
ENV TZ Asia/Shanghai
ENV LANGUAGE zh_CN.UTF-8
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV crontab /crontab
ENV DNS1 119.29.29.29
ENV DNS2 180.76.76.76
ENV Time_max 100
ENV Time_mini 20
ENV morning 7
ENV night 23
ENV add 0
ENV Version 1.2.1
ENV show off
ENV Concurrency 1
ENV Single 0
ENV Thread 5
ENV UrlKey UrlKey
ENV URL https://url.liumou.site
COPY gcd /usr/bin/gcd
COPY start.sh /start.sh
COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
RUN chmod 0777 /start.sh
RUN apt update && apt install -y ca-certificates
RUN update-ca-certificates
WORKDIR $HOME
LABEL description="这是一个用于批量下载URL的工具."
LABEL maintainer="坐公交也用券"
LABEL home="https://liumou.site"
LABEL Version=1.2.2

CMD ["/start.sh"]